<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE html>
<!-- saved from url=(0033)http://192.168.0.77/pms/task.html -->
<html lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta charset="UTF-8">
	<title>凯盛项目管理系统</title>
	<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
	<script type="text/javascript" src="js/jquery.js"></script>
	<script type="text/javascript" src="js/bootstrap.min.js"></script>
</head>
<body class="body">

	<div class="navbar navbar-fixed-top"  >
		<div class="navbar-inner" >
		
			<div class="container">
			<marquee scrolldelay="40" direction="right" onmouseover="this.stop()" onMouseOut="this.start()">
				<a class="brand" href="main.jspx" style="color:red;margin-top:0px;">凯盛项目管理系统  欢迎你的登陆！</a>
				</marquee>
			</div>
		</div>
	</div>
	
	
	<div class="container" id="s" >
	  <div class="row"  >
		<div class="span3" >
			<div style="padding: 8px 0;" class="well">
				<ul class="nav nav-list">
				  <li class="nav-header">新Apple总部项目</li>
				  <li class="divider"></li>
				  <li class="active"><a href="pro.jspx?_m=lm&id=${sessionScope.mypro.id}"><i class="icon-white icon-home"></i>最新动态</a></li>
				  <li><a href="goal.jspx?_m=s1"><i class="icon-flag"></i>目标</a></li>
				  <li><a href="document.jspx?_m=d1"><i class="icon-folder-open"></i>资料库</a></li>
				  <li><a href="file.jspx"><i class="icon-file"></i>文件共享</a></li>
				  <li><a href="contact.jspx?_m=c5"><i class="icon-user"></i>联系人</a></li>
				  <li><a href="idea.jspx"><i class="icon-fire"></i>想法</a></li>
				  <li><a href="#"><i class="icon-warning-sign"></i>Bug</a></li>
				  <li><a href="#"><i class="icon-cog"></i>项目设置</a></li>
				</ul>
			</div>
		</div>
		
		<div class="span9">
			
			<ul class="breadcrumb" style="margin-bottom:0px;border-radius: 3px 3px 0 0;margin-top:15px">
				<li class="active">
					<a href="javascript:;"><i class="icon-th"></i>${requestScope.goal.name}</a>
				</li>
				<li style="float:right">
					<i class="icon-edit"></i><a href="goal.jspx?_m=s2&gid=${requestScope.goal.id}" class="link-black">编辑</a>
				</li>
			</ul>
			<div class="wall">
				<p>${requestScope.goal.desc}</p>
				<div class="progress progress-danger">
					<div class="bar" style="width: ${requestScope.goal.state}%;">当前目标总进度完成${requestScope.goal.state}%</div>
				</div>

				<div class="page-header">
					<a href="task.jspx?_m=t1&gid=${requestScope.goal.id}" class="btn btn-success"><i class="icon-plus icon-white"></i>添加新任务</a>
					<a href="task.jspx?_m=t6&gid=${requestScope.goal.id}" title="删除" style="margin-left:500px"><i class="icon-trash"></i></a></div>
				</div>

          <c:forEach items="${requestScope.list}" var="list">
				<dl>
				
        			<dt><i class="icon-bookmark"></i><a href="task.jspx?&_m=t3&taskid=${list.id}">${list.name}</a>&nbsp;&nbsp;&nbsp;${list.employee.username}
        			<a href="task.jspx?_m=t7&taskid=${list.id}&gid=${requestScope.goal.id}" title="删除" style="margin-right:50px"><i class="icon-trash"></i></a>
        			</dt>
        			
        			<dd>${list.desc}</dd>
        			
        			<div class="progress">
					  <div class="bar" style="width:${list.rate}%;">进度率为${list.rate}%</div>
					  
					</div>
                       

        			<!-- <dt style="margin-top:15px"><i class="icon-bookmark"></i><a href="http://192.168.0.77/pms/task.html#">写DAO和Services类</a>&nbsp;&nbsp;&nbsp;[金泰熙]</dt>
        			<dd>Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.</dd>
        			<div class="progress progress-success">
					  <div class="bar" style="width:100%;">100%</div>
					</div>

        			<dt style="margin-top:15px"><i class="icon-bookmark"></i><a href="http://192.168.0.77/pms/task.html#">使用TwitterBootStrop重构前端页面</a>&nbsp;&nbsp;&nbsp;[艾莉婕]</dt>
        			<dd>Etiam porta sem malesuada magna mollis euismod.</dd>
        			<div class="progress">
					  <div class="bar" style="width:35%;">35%</div>
					</div> -->
      			</dl>
                   </c:forEach> 
			</div>
			
		</div>
	  </div>
	</div>

</body></html>